<?php
class usersController extends Controller
{
    /**会员管理
     * @return void
     */
    function showIndex()
    {
        $pagination_sql = "select * from user where status <> 'D' and type='user'";
        $pagination_count_sql = "select count(1) as count from user where status <> 'D' and type='user' ";
        $this->putIntoPage("pagination", $this->modules->User->pagination($pagination_sql, $pagination_count_sql));
        $this->render("UsersList");
    }

    function del()
    {
        $this->modules->User->delete($this->_get['id']);
        $this->showIndex();
    }

}

?>